.tool_modal {
  -webkit-box-shadow: 0 0 30px 0 #e1e6ec;
  box-shadow: 0 0 30px 0 #e1e6ec;
  z-index: 666;
  position: absolute;
  left: -86px;
  top: 58px;
  width: 310px;
  height: 354px;
  background: #ffffff;
  border-radius: 10px;
  padding: 16px 16px 0;

  .arrow {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
  }

  .tool_modal_username {
    color: #03081a;
    text-align: center;
    font-size: 14px;
    font-weight: 700;

    i {
      cursor: pointer;
      margin-left: 4px;
      width: 20px;
      height: 20px;
      display: inline-block;
      background: url("./../../../../asserts/ic_non_member_v2.png") no-repeat center;
      background-size: cover;
    }
  }

  .tool_modal_vip_info {
    color: #64360d;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 0 12px;
    background: #fcf6e7;
    height: 42px;
    width: 100%;
    border-radius: 8px;
  }

  .tool_modal_return {
    margin-top: 16px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #c99e47;
    font-size: 14px;
    font-weight: 700;

    i {
      width: 61px;
      height: 1px;
      display: inline-block;

      &:nth-of-type(1) {
        background: url("./../../../../asserts/tool_vip_left.png") no-repeat center;
        background-size: cover;
      }

      &:nth-of-type(2) {
        background: url("./../../../../asserts/tool_vip_right.png") no-repeat center;
        background-size: cover;
      }
    }
  }

  .tool_modal_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    width: 100%;
    height: 60px;

    li {
      text-align: center;

      a {
        color: #05082c;
        font-size: 12px;

        img {
          margin-bottom: 10px;
          width: 36px;
          height: auto;
        }
      }

      &:hover {
        opacity: .8;
      }
    }
  }

  .tool_modal_enterprise {
    padding: 10px;
    margin-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 68px;
    border-radius: 10px;
    background-color: #fafafc;

    img {
      width: 42px;
      height: 42px;
    }

    .enterprise_center {
      font-size: 12px;

      p {
        margin-bottom: 0;

        &:nth-of-type(1) {
          color: #454d5a;
          font-weight: 700;
        }

        &:nth-of-type(2) {
          color: #afb3bf;
          font-weight: .8;
        }
      }
    }

    i {
      opacity: .2;
    }
  }

  .tool_modal_footer {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 42px;
    width: 100%;
    border-top: 1px solid #f1f2f4;
    display: flex;
    justify-content: space-between;
    align-items: center;

    li {
      padding: 0 26px;
      border-right: 1px solid #f1f2f4;

      a {
        font-size: 12px;
        color: #454d5a;
      }
    }
  }

  &.timeout {

    .tool_modal_vip_info {
      color: #03081a;
      background: #eff0f6;
    }

    .tool_modal_return {
      color: #afb3bf;
      i {
        &:nth-of-type(1) {
          background: url("./../../../../asserts/tool_left.png") no-repeat center;
          background-size: cover;
        }

        &:nth-of-type(2) {
          background: url("./../../../../asserts/tool_right.png") no-repeat center;
          background-size: cover;
        }
      }
    }
  }

  &.vip {

    .tool_modal_username {

      i {
        background: url("./../../../../asserts/ic_member_v2.png") no-repeat center;
        background-size: cover;
      }
    }
  }

}
